﻿namespace My.Hydrator.Tests
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;

    public class Person : Entity
    {
        [DataType(DataType.PhoneNumber)]
        public string Phone { get; set; }

        public string FirstName { get; set; }

        public string LastName { get; set; }

        public int Weight { get; set; }

        public int Height { get; set; }

        public Address PhysicalAddress { get; set; }

        public DateTime? DateOfBirth { get; set; }

        [DataType("Custom")]
        public string Other { get; set; }

        public IEnumerable<string> Friends { get; set; }

        public IList<int> FavoriteNumbers { get; set; }

        public IDictionary<string, int> FriendsFavoriteNumbers { get; set; }
    }
}
